ConnectionMap = {
    "section1": "part1",
    "section1Value": "con_id1",
    "section2": "part2",
    "connectionId": "con_degree",
}

ConnectionReverseMap = {
    "part1": "section1",
    "con_id1": "section1Value",
    "part2": "section2",
    "con_degree": "connectionId",
}

SectionConnectionMap = {
    "con_height": "con_height",
    "part1Id": "part1Id",
    "section1Value": "con_id1",
    "part2Id": "part2Id",
    "section2Value": "con_id2",
    "connectionId": "con_degree",
    "id": "id",
    "allAround": "con_all",
    "surfaceTable": "con_angle",
    "freeTable": "con_free",
}

SectionConnectionReverseMap = {
    "con_height": "con_height",
    "part1Id": "part1Id",
    "con_id1": "section1Value",
    "part2Id": "part2Id",
    "con_id2": "section2Value",
    "con_degree": "connectionId",
    "id": "id",
    "con_all": "allAround",
    "con_angle": "surfaceTable",
    "con_free": "freeTable",
}

StageConnectionMap = {
    "con_height": "con_height",
    "section1Value": "con_id1",
    "section2Value": "con_id2",
    "connectionId": "con_degree",
    "id": "id",
    "allAround": "con_all",
    "surfaceTable": "con_angle",
    "freeTable": "con_free",
}

StageConnectionReverseMap = {
    "con_height": "con_height",
    "con_id1": "section1Value",
    "con_id2": "section2Value",
    "con_degree": "connectionId",
    "id": "id",
    "con_all": "allAround",
    "con_angle": "surfaceTable",
    "con_free": "freeTable",
}


mainConnectMap = {
    "id": "id",
    "con_degree": "con_degree",
    "con_id1": "con_id1",
    "con_id2": "con_id2",
    "coordinates1Table": "con_grid1",
    "coordinates2Table": "con_grid2",
    "pointTable": "con_grid",
    "boltTable": "con_bar",
    "scope1Table": "con_range1",
    "scope2Table": "con_range2",
    "connectionType": "connectionType",
    "name": "name",
}

mainConnectReverseMap = {
    "id": "id",
    "con_degree": "con_degree",
    "con_id1": "con_id1",
    "con_id2": "con_id2",
    "con_grid1": "coordinates1Table",
    "con_grid2": "coordinates2Table",
    "con_grid": "pointTable",
    "con_range1": "scope1Table",
    "con_range2": "scope2Table",
    "con_bar": "boltTable",
    "connectionType": "connectionType",
    "name": "name",
}

rodConnectMap = {
    "id": "id",
    "con_degree": "con_degree",
    "con_id1": "con_id1",
    "con_id2": "con_id2",
    "coordinates1Table": "con_grid1",
    "coordinates2Table": "con_grid2",
    "scope1Table": "con_range1",
    "scope2Table": "con_range2",
    "boltTable": "con_bar",
    "connectionType": "connectionType",
    "name": "name",
}

rodConnectReverseMap = {
    "id": "id",
    "con_degree": "con_degree",
    "con_id1": "con_id1",
    "con_id2": "con_id2",
    "con_grid1": "coordinates1Table",
    "con_grid2": "coordinates2Table",
    "con_range1": "scope1Table",
    "con_range2": "scope2Table",
    "con_bar": "boltTable",
    "connectionType": "connectionType",
    "name": "name",
}

bapMap = {
    "id": "rodId",
}

typeSectionMap = {"点": "p", "面": "f", "自由": "e"}
typeSectionReverseMap = {"p": "点", "f": "面", "e": "自由"}

typeBundleMap = {
    "点": "p",
    "蒙皮桁条": "f",
}
typeBundleReverseMap = {
    "p": "点",
    "f": "蒙皮桁条",
}
